package com.bjb.domain;

/**
 * 字段
 */
public class DpField extends BasicDomain {

    /**
     * 数据表ID
     */
    private Integer tableId;

    /**
     * 字段注释
     */
    private String comment;

    /**
     * 字段名称
     */
    private String columnName;

    /**
     * 字段类型
     */
    private String fieldType;

    /**
     * 字段长度
     */
    private Integer fieldLen;

    /**
     * 是NULL：0 否 1是
     */
    private Integer isNull;

    /**
     * 是主键：0否 1是
     */
    private Integer isKey;

    /**
     * 是自动增长：0否 1是
     */
    private Integer isAutoIncrement;

    /**
     * 默认值
     */
    private String defaultVal;

    public DpField() {
    }

    public Integer getTableId() {
        return tableId;
    }

    public void setTableId(Integer tableId) {
        this.tableId = tableId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public Integer getFieldLen() {
        return fieldLen;
    }

    public void setFieldLen(Integer fieldLen) {
        this.fieldLen = fieldLen;
    }

    public Integer getIsNull() {
        return isNull;
    }

    public void setIsNull(Integer isNull) {
        this.isNull = isNull;
    }

    public Integer getIsKey() {
        return isKey;
    }

    public void setIsKey(Integer isKey) {
        this.isKey = isKey;
    }

    public Integer getIsAutoIncrement() {
        return isAutoIncrement;
    }

    public void setIsAutoIncrement(Integer isAutoIncrement) {
        this.isAutoIncrement = isAutoIncrement;
    }

    public String getDefaultVal() {
        return defaultVal;
    }

    public void setDefaultVal(String defaultVal) {
        this.defaultVal = defaultVal;
    }
}
